.PHONY: all
all:
	@cd compiler_sever;\
	make;\
	cd -;\
	cd oj_sever;\
	make;\
	cd -;




.PHONY:output
output:
	@mkdir -p output/compiler_sever;\
	mkdir -p output/oj_sever;\
	cp -rf compiler_sever/Compiler_sever output/compiler_sever;\
	cp -rf oj_sever/include output/oj_sever;\
	cp -rf oj_sever/lib output/oj_sever;\
	cp -rf oj_sever/questions output/oj_sever;\
	cp -rf oj_sever/sever_machines output/oj_sever;\
	cp -rf oj_sever/template_html output/oj_sever;\
	cp -rf oj_sever/wwwroot output/oj_sever;\
	cp -rf oj_sever/oj_server output/oj_sever;

	
.PHONY:clean
clean:
	@cd compiler_sever;\
	make clean;\
	cd -;\
	cd oj_sever;\
	make clean;\
	cd -;\
	rm -rf output;
